package com.four.marketing.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 侯新伟
 * @since 2021-12-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mark_bargain")
public class Bargain extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 砍价ID
     */
    @TableId(value = "ba_id", type = IdType.AUTO)
    private Integer baId;

    /**
     * 砍价图片
     */
    private String baPicture;

    /**
     * 砍价名称
     */
    private String baName;

    /**
     * 最低价
     */
    private double baMinPrice;

    /**
     * 参与人数
     */
    private Integer baParticipants;

    /**
     * 帮忙砍价人数
     */
    private Integer baHelpBargain;

    /**
     * 砍价成功人数
     */
    private Integer baSuccessBargain;

    /**
     * 限量
     */
    private Integer baLimit;

    /**
     * 限量剩余
     */
    private String baLimitSurplus;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 砍价状态
     */
    private Integer baStatus;

    /**
     * 单位
     */
    private String baCompany;


}
